package com.hh.mapper;

import com.hh.model.NewsModel;

import java.util.List;

public interface NewsMapper extends BaseMapper<NewsModel>{

    @Override
    int add(NewsModel newsModel);

    @Override
    int delete(NewsModel newsModel);

    @Override
    int update(NewsModel newsModel);

    @Override
    List<NewsModel> findAll(NewsModel newsModel);

    @Override
    NewsModel findById(NewsModel newsModel);

    @Override
    int count(NewsModel newsModel);
}
